<?php
namespace haibao\cms\kafka;
class Spider extends Base{
    const TOPIC_NAME = 'SpiderQueue';

    private static $topicName = '';

    public function __construct(){
    }

    public function sendMessage($topicName, $message = ''){
        if ($message){
            parent::product($topicName,$message);
        }
    }
}